﻿<UserControl x:Class="Cinser.Common.Wpf.Controls.FoldWindow"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">

    <Grid x:Name="LayoutRoot">
        <Border BorderThickness="1,1,1,1" CornerRadius="5,5,5,5" Name="Border1">

            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="25"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>

                <Border Name="Border2" CornerRadius="5,5,0,0" BorderThickness="0,0,0,1">
                    <Grid>
                        <Label Name="lblTitle" Margin="5,0,0,0" VerticalAlignment="Center" FontSize="14"/>
                        <Label Content="收起" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,5,0" Name="Btn"  MouseDown="Btn_Click"/>
                    </Grid>
                </Border>

                <Grid Name="GridContent" Grid.Row="1" ></Grid>

            </Grid>
        </Border>
    </Grid>
</UserControl>
